package bravo.xc.com.xc_bravo_android.beans;

import java.util.List;

/**
 * CREATED BY YANK
 * DATE : 2017/11/7
 * MAIL : YANK.TENYOND@GMAIL.COM
 * FUNCTION :
 */

public class WithDrawResultBeans {


    /**
     * msg : 提现金额不能超过余额
     * code : 0
     */

    private String msg;
    private int code;
    /**
     * data : {"shopTotal":799927,"banks":[{"bankName":"中国建设银行","bankNum":"523453555","isDefault":true,"id":6,"userId":240,"realname":"杨希宇"},{"bankName":"中国人民银行","bankNum":"26615213151","isDefault":false,"id":8,"userId":240,"realname":"回火"},{"bankName":"中国人民银行","bankNum":"26615213151","isDefault":false,"id":9,"userId":240,"realname":"回d火"}],"phoneNum":"18281519623"}
     */

    private DataBean data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * shopTotal : 799927
         * banks : [{"bankName":"中国建设银行","bankNum":"523453555","isDefault":true,"id":6,"userId":240,"realname":"杨希宇"},{"bankName":"中国人民银行","bankNum":"26615213151","isDefault":false,"id":8,"userId":240,"realname":"回火"},{"bankName":"中国人民银行","bankNum":"26615213151","isDefault":false,"id":9,"userId":240,"realname":"回d火"}]
         * phoneNum : 18281519623
         */

        private float shopTotal;
        private String phoneNum;
        private List<BanksBean> banks;

        public float getShopTotal() {
            return shopTotal;
        }

        public void setShopTotal(int shopTotal) {
            this.shopTotal = shopTotal;
        }

        public String getPhoneNum() {
            return phoneNum;
        }

        public void setPhoneNum(String phoneNum) {
            this.phoneNum = phoneNum;
        }

        public List<BanksBean> getBanks() {
            return banks;
        }

        public void setBanks(List<BanksBean> banks) {
            this.banks = banks;
        }

        public static class BanksBean {
            /**
             * bankName : 中国建设银行
             * bankNum : 523453555
             * isDefault : true
             * id : 6
             * userId : 240
             * realname : 杨希宇
             */

            private String bankName;
            private String bankNum;
            private boolean isDefault;
            private int id;
            private int userId;
            private String realname;

            public String getBankName() {
                return bankName;
            }

            public void setBankName(String bankName) {
                this.bankName = bankName;
            }

            public String getBankNum() {
                return bankNum;
            }

            public void setBankNum(String bankNum) {
                this.bankNum = bankNum;
            }

            public boolean isIsDefault() {
                return isDefault;
            }

            public void setIsDefault(boolean isDefault) {
                this.isDefault = isDefault;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public String getRealname() {
                return realname;
            }

            public void setRealname(String realname) {
                this.realname = realname;
            }
        }
    }
}
